package com.hx.mypetstore.network;

public class HttpURL {

//   private static final String ROOT_URL = "http://172.24.41.94:8080";
//    private static final String ROOT_URL = "http://10.22.153.21:8080";
    private static final String ROOT_URL = "http://169.254.70.223:8080";
    /**
     * 登陆接口
     */
    public static String LOGIN = ROOT_URL + "/user/login";

    /**
     * 注册接口
     */
    public static String REGISTER = ROOT_URL + "/user/Register";

    /**
     * 是否绑定接口
     */
    public static String IFVERIFY = ROOT_URL + "/user/ifverify";

    /**
     * 绑定接口
     */


    public static String VERIFY = ROOT_URL + "/user/verify";

    /**
     * 获得该用户的所有的地址接口
     */
    public static String GETALL = ROOT_URL + "/address/getAll";

    /**
     * 保存地址
     */
    public static String ADDADDRESS = ROOT_URL + "/address/insert";

    /**
     * 获取所有商品
     */
    public static  String ALLGOODS = ROOT_URL + "/goods/getAll";

    /**
     * 添加购物车
     */
    public static  String ADDCART = ROOT_URL + "/cart/add";

    /**
     * 查询购物车
     */
    public static  String GETCART = ROOT_URL + "/cart/getAll";

    /**
     * 更新购物车
     */
    public static String UPDATECART = ROOT_URL +"/cart/updataCart";

    /**
     * 删除购物车一项接口
     */
    public static String DELETEONE = ROOT_URL + "/cart/delete";

    /**
     * 成为会员接口
     */
    public static String TOVIP = ROOT_URL + "/vip/toRegist";

    /**
     * 查询是否为会员
     */
    public static String HAVEVIP = ROOT_URL + "/vip/haveVip";

    /**
     * 加入订单 --- 待支付
     */
    public static String ISORDER = ROOT_URL + "/order/addone";

    /**
     * 查询订单  ---状态
     */
    public static String GETORDERBYSTATE = ROOT_URL + "/order/getByState";

    /**
     * 付款一件 --商品
     */
    public static String BUY = ROOT_URL + "/order/buy";

    /**
     * 取消订单
     */
    public static String CANCEL = ROOT_URL + "/order/cancelOrder";

    /**
     * 确认收货
     */
    public static String CONFIRM = ROOT_URL + "/order/confirmOrder";

    /**
     * 申请退款
     */
    public static String APPLYCANCEL = ROOT_URL + "/order/applyCancelOrder";

    /**
     * 评价
     */
    public static String ASSESS = ROOT_URL + "/order/assess";

    /**
     * 是否评价
     */
    public static String HAVEASSESS = ROOT_URL + "/order/haveAssess";

    /**
   *  获取个人信息
   */
   public static String GETINFO = ROOT_URL + "/info/get";

  /**
  *  修改个人信息
  */
  public static  String UPDATEINFO = ROOT_URL + "/info/update";

}
